package ch1;

import java.util.Scanner;

public class Zuoye03074 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请分别输入你的语文，数学，英语，三门课成绩：");
        int a=scan.nextInt();
        int b=scan.nextInt();
        int c=scan.nextInt();
        double d=(a+b+c)/3;
        if (a>=60&&b>=60&&c>=60){
            if (d>80){
                System.out.println("获得一等奖学金1500元");
            }else if (d>75){
                System.out.println("获得二等奖学金1000元");
            }else {
                System.out.println("很遗憾你没获得奖学金");
            }
        }else if (d>70){
            System.out.println("获得三等奖学金500元");
        }else {
            System.out.println("很遗憾你没获得奖学金");
        }
    }
}
